<?php
class dtoUser{
	var $intUserID;
	var $strUserName;
	var $strPass;
	var $strFullName;
	var $strEmail;
	var $blSex;
	var $strCountry;
	var $blRole; // 0 la nam, 1 la nu trong database
	
	public function dtoUser(){
		$this->intUserID = 0;
		$this->strUserName = "";
		$this->strPass = "";
		$this->strFullName = "";
		$this->strEmail = "";
		$this->blSex = false; // 0 = false = nam
		$this->strCountry = "";
		$this->blRole = false; // 0: nguoi hoc / 1: admin (0 la ko co quyen)
	}
	
	public function setIntUserID($intUserIDPara){
		$this->intUserID = $intUserIDPara;
	}
	
	public function setStrUserName($strUserNamePara){
		$this->strUserName = $strUserNamePara;
	}
	
	public function setStrPass($strPassPara){
		$this->strPass = $strPassPara;
	}
	
	public function setStrFullName($strFullNamePara){
		$this->strFullName = $strFullNamePara;
	}
	
	public function setStrEmail($strEmailPara){
		$this->strEmail = $strEmailPara;
	}
	
	public function setBlSex($blSexPara){
		$this->blSex = $blSexPara;
	}
	
	public function setStrCountry($strCountryPara){
		$this->strCountry = $strCountryPara;
	}
	
	public function setBlRole($blRole){
		$this->blRole = $blRole;
	}
	
	public  function getIntUserID(){
		return  $this->intUserID ;
	}
	
	public  function getStrUserName(){
		return $this->strUserName ;
	}
	
	public  function getStrPass(){
		return $this->strPass  ;
	}
	
	public  function getStrFullName(){
		return  $this->strFullName;
	}
	
	public  function getStrEmail(){
		return  $this->strEmail;
	}
	
	public  function getBlSex(){
		return  $this->blSex;
	}
	
	public  function getStrCountry(){
		return  $this->strCountry;
	}
	
	public  function getBlRole(){
		return  $this->blRole;
	}
}
?>